/*flex*/
@pm: 8px;
@fs: 12px;
@wh: 50px, 100px, 150px, 200px;

body {
  .flex {
    display: flex;
    //采用flex布局
  }

  .fc-c {
    justify-content: center;
  }

  .fc-e {
    justify-content: flex-end;
  }

  .fc-b {
    justify-content: space-between;
  }

  .fc-a {
    justify-content: space-around;
  }

  .fa-c {
    align-items: center;
  }

  .fa-e {
    align-items: flex-end;
  }

  .fd {
    flex-direction: column;
  }

  .fg1 {
    flex-grow: 1;
  }

  .fg2 {
    flex-grow: 2;
  }

  .fos {
    order: -1;
  }

  .foe {
    order: 99;
  }

  .lr {
    position: relative;
  }

  .la {
    position: absolute;
  }

  .lf {
    position: fixed;
  }

  .dh {
    display: hide;
  }

  .dl {
    display: inline;
  }

  .db {
    display: inline-block;
  }

  .df {
    display: inline-flex;
  }

  .tc {
    text-align: center;
  }

  .tr {
    text-align: right;
  }

  .w100 {
    width: 100%;
  }

  .h100 {
    height: 100%;
  }

  .fr {
    float: right;
  }
  .pa{
    position: absolute;
  }
  .pr{
    position: relative;
  }
  .pf{
    position: fixed;
  }
}

/* padding margin*/
each(range(6), {
    .pl@{value} {
      padding-left: (@value * @pm);
    }

    .pr@{value} {
      padding-right: (@value * @pm);
    }

    .ph@{value} {
      padding-left: (@value * @pm);
      padding-right: (@value * @pm);
    }

    .pt@{value} {
      padding-top: (@value * @pm);
    }

    .pb@{value} {
      padding-bottom: (@value * @pm);
    }

    .pv@{value} {
      padding-top: (@value * @pm);
      padding-bottom: (@value * @pm);
    }

    .p@{value} {
      padding: (@value *@pm);
    }

    .ml@{value} {
      margin-left: (@value * @pm);
    }

    .mr@{value} {
      margin-right: (@value * @pm);
    }

    .mh@{value} {
      margin-left: (@value * @pm);
      margin-right: (@value * @pm);
    }

    .mt@{value} {
      margin-top: (@value * @pm);
    }

    .mb@{value} {
      margin-bottom: (@value * @pm);
    }

    .mv@{value} {
      margin-top: (@value * @pm);
      margin-bottom: (@value * @pm);
    }

    .m@{value} {
      margin: (@value *@pm);
    }
  }

)
/*font-size*/

each(range(6), {
    .fs@{value} {
      font-size: (@value*2 + @fs);
    }

    .fs-@{value} {
      font-size: (@fs - @value*2);
    }
  }

) 
.i-layout-content-main {
  margin: 10px;
}

.full {
  height: 100%;
  background: red;
  margin-top: 45px;

  .menu {
    border: 1px solid #ddd;
    padding: 0 5px;
    overflow: auto;

    .title {
      line-height: 45px;
      font-size: 14px;
      padding: 0 5px;
      border-bottom: #e4e6ed solid 1px;

      .fr {
        float: right;
        margin-top: 10px;
        cursor: pointer;
      }

      .fr:hover {
        color: #249e91;
      }
    }

    .tree {
      height: calc(100% - 150px);
      overflow: auto;
    }
  }

  .content {
    background: white;
    padding: 0 0 0 10px;
    //position: absolute;
    left: 250px;
    right: 10px;

    .auto {
      flex: 1;
      overflow: auto;
      position: relative;
      min-height: 600px;
    }

    .fly {
      position: relative;
      overflow: inherit;
    }

    .ivu-btn-small {
      padding: 0;
      background: red;
    }
  }
}